﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Sagacity.NC.Web.BaokaoManager
{
    public partial class HighSchoolInfo : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadSchoolInfo();
        }

        private void LoadSchoolInfo()
        {
            Hashtable hashtable = new Hashtable();
            hashtable.Add("keyId", hidIDColumn.Value);
            hashtable.Add("keyName", hidCaptionColumn.Value);
            hashtable.Add("keyParent", hidParentColumn.Value);

            this.TreeFormCommon1.AddFieldS = hashtable;
            this.TreeFormCommon1.CurrentUser = CurrentUser;
            this.TreeFormCommon1.Role = CurrentUser.LoginRole;
            this.TreeFormCommon1.title = "批次选择";
            //这个是必要的，用于缓存区分各个模块的树
            this.TreeFormCommon1.TableName = "Batch_tree";
        }
    }
}
